﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Model;

namespace Common.DictComponent
{
    public interface IDbContext
    {
        DbSet<WmsDictType> WmsDictType { get; set; }
        DbSet<WmsDictData> WmsDictData { get; set; }

        Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
    }
}
